html {
    box-sizing: border-box;
    font: 18px PT Mono;
    background:#777;
    scroll-behavior: smooth;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column;
     /* 将弹性容器内的元素排列方向设置为垂直方向，从上到下 */
    align-items: center;
    height: 100vh;

}

#container {
    width: 100%;
    max-width: 2000px;
    /* margin: 12px auto; */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background: #fff;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

#toper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    border-bottom: 1px solid #ddd;
    background: #f0f0f0;
}

.logo {
    height: 55px;
}

#userInfo {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: bolder;
    font-size: larger;
    color: #0caceb;
  
    position: relative;
    /* margin-left: 50px; */
    right: 80px;
}

.img-circle {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    border: 2px solid #abbd73;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
      
    position: absolute;  
    /* 绝对位置  absolute*/
    top: 20;
    right: 22px;
}

#main {
    display: flex;
    flex: 1;
    height: 100%;
}

#nav {
    width: 22%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 27px;
    padding: 40px 20px;
    /* background: rgb(217  217 217 / 0.9); */
    background: antiquewhite;
}

.box {
    width: 78%;
    min-width: 150px;
    height: 45px;
    position: relative;
    border-radius: 5px;
    background: linear-gradient(to right, #abbd73 35%, #d6e2ad 100%);
    margin-bottom: 40px;
    padding: 15px 25px 0 40px;
    color: darkslategray;
    box-shadow: 1px 2px 1px -1px #777;
    transition: background 200ms ease-in-out;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    text-align: right;
}

.box a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.shadow {
    position: relative;
}

.shadow:before {
    z-index: -1;
    position: absolute;
    content: "";
    bottom: 13px;
    right: 7px;
    width: 75%;
    top: 0;
    box-shadow: 0 15px 10px #777;
    transform: rotate(4deg);
    transition: all 150ms ease-in-out;
}

.box:hover {
    background: linear-gradient(to right, #abbd73 0%, #abbd73 100%);
}

.shadow:hover::before {
    /* transform: rotate(0deg); */
    -webkit-transform: rotate(0deg);
          transform: rotate(0deg);
    bottom: 20px;
    z-index: -10;
}

.circle {
    position: absolute;
    top: 14px;
    left: 15px;
    border-radius: 50%;
    box-shadow: inset 1px 1px 1px 0px rgba(0, 0, 0, 0.5), inset 0 0 0 25px antiquewhite;
    width: 20px;
    height: 20px;
    display: inline-block;
    text-align: right;
    padding: 0 20px 0 0;
}

#content {
    width: 75%;
    padding: 20px;
    border-left: 1px solid #ddd;
    background: #f9f9f9;
    overflow: auto;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
}

#footer {
    text-align: center;
    padding: 10px 0;
    border-top: 1px solid #ddd;
    background: #f0f0f0;
    font-size: 14px;
}

@media (max-width: 768px) {
    #nav {
        width: 100%;
        flex-direction: row;
        justify-content: space-around;
    }

    #content {
        width: 100%;
        padding: 10px;
    }

   .box {
        width: 100px;
    }
}

